package com.market.domain;

import java.util.List;

/**
 * 
 * @author 叶建雄,谭健
 * 
 *分页封装的类
 */
public class PageBean<T> {
private int currentPage;	//当前页数
private int pageSize;		//每一页显示的个数
private int totalCount;		//总个数
private int totalPage;		//总页数
private List<T> list;		//每页显示的数据
public int getCurrentPage() {
	return currentPage;
}
public void setCurrentPage(int currentPage) {
	this.currentPage = currentPage;
}
public int getPageSize() {
	return pageSize;
}
public void setPageSize(int pageSize) {
	this.pageSize = pageSize;
}
public int getTotalCount() {
	return totalCount;
}
public void setTotalCount(int totalCount) {
	this.totalCount = totalCount;
}
public int getTotalPage() {
	return totalPage;
}
public void setTotalPage(int totalPage) {
	this.totalPage = totalPage;
}
public List<T> getList() {
	return list;
}
public void setList(List<T> list) {
	this.list = list;
}

}
